//frontend/src/router/guards.js
import Home from '@/views/Home.vue';
import Login from '@/views/Login.vue';

export const routes = [  // 使用命名导出
    {
        path: '/home',
        name: 'Home',
        component: Home,
        meta: {requiresAuth: true},
    },
    {
        path: '/',
        name: 'Login',
        component: Login,
    },
];
